put a plug in (something)

Translations
mettre un frein à
Definitions
To stop or prevent the flow of something, often by physically blocking an opening or hole; figuratively, it can mean to put an end to a problem, issue, or activity.